package com.ai.web.service;

import java.util.List;

import com.ai.web.vo.ResultModel;
import com.ai.web.vo.WxRoleMenuV;
import com.tiny.persistence.domain.WxRoleMenu;
/**
 * 前端角色菜单关系服务层
* @ClassName: WxroleMenuService 
* @Description: TODO 
* @author:  
* @date: 2014年3月23日
*
 */

public interface WxRoleMenuService extends BaseService {
	
	public WxRoleMenuV getWxRoleMenu(int wxRoleMenuId) throws Exception;
	
	public ResultModel saveWxRoleMenu(WxRoleMenuV wxRoleMenuV) throws Exception;
	
	public ResultModel deleteWxRoleMenus(List<Integer> wxRoleMenuIds) throws Exception;
	
	public ResultModel updateWxRoleMenus(int roleId, String wxRoleMenuIds) throws Exception;

	public int deleteByGroupId(int roleId);
	
	public List<WxRoleMenu> findSelectedMenuList(int roleId);

	public ResultModel asignMenu(int roleId, String menuIds);

}
